package com.gs.wzweather.utils;

public class Constant {
    public static final String ERROR = "error";

    public class Response {
        public static final int SUCCESS_CODE = 0;
        public static final int FAILED_CODE = -1;
    }

    public class Site {
        public static final String CITY = "温州";
        public static final String SITE_TYPE = "自动气象站";
        public static final double AIM_SITE_LNG = 120.57;
        public static final double AIM_SITE_LAT = 28.33;
    }

    public class HorType {
        public static final String MAX = "max";
        public static final String Min = "min";
        public static final String AVG = "avg";
        public static final String NORMAL = "normal";
    }

    public class Url {
        public static final String ELEMENT_STATION_ID = "stationId,";
        public static final String PARAM_STAID = "&staId=";
        public static final String PARAM_STAIDS = "&staIds=";
        public static final String PARAM_ELEMENT = "&elements=";
        public static final String DATA_CENTER_API = "http://10.135.30.116:8080/ZJDataCenter/api/";
        //7天预报接口 &staId=58557&elements=cloud,t,tmax12,tmin12,rh
        public static final String FORE_7_DAY = DATA_CENTER_API + "StationForecast/get7DaysForecastByStaIdAndEles?userid=wlzx&pwd=123&productcategory=ocfstationforecast&dataformat=json";
        //单站精细化1-24h预报(省台1-24h预报)
        public static final String FORE_24_HOUR = DATA_CENTER_API + "StationForecast/get24HourForecastByStaIdAndEles?userid=wlzx&pwd=123&productcategory=st24hourstationforecast&dataformat=json";
        //精细化当天预报接口
        public static final String FORE_48_HOUR = DATA_CENTER_API + "StationForecast/getToDaysForecastByStaIdAndEles?userid=wlzx&pwd=123&productcategory=ocfstationforecast&dataformat=json";
        //精细化当天多站点预报接口
        public static final String FORE_48_HOUR_WIHT_MORE_STA = DATA_CENTER_API + "StationForecast/getToDaysForecastByStaIdsAndEles?userid=wlzx&pwd=123&productcategory=ocfstationforecast&dataformat=json";
        //最新资料接口->用于无数据显示 &elements=visibility,windVelocity,precipitation&staIds=58643
        public static final String LATEST_WEA = DATA_CENTER_API + "SURF_ZJ_MUL_HOR/getSurfLatestTimeByStaID?userid=wlzx&pwd=123&dataformat=json&limitCnt=100";
    }

    public class WordPath {

        public static final String PORTANDCHANNEL = "E:/portForeRevise/";
        public static final int PAGE_SIZE = 10;

        public static final String IMPORTANT_FORCAST_PATH = "Y:/z重要天气业务/z重要气象报告★★★★★★★★★★/";
        public static final String THREEMONTHLY_FORCAST_PATH = "Y:/x旬月报/";


        //      public static final String IMPORTANT_FORCAST_PATH = "F:/DevResources/z重要天气业务/z重要气象报告★★★★★★★★★★/";
        //      public static final String THREEMONTHLY_FORCAST_PATH = "F:/DevResources/x旬月报/";


    }

    public class FtpFilePath {

        public static final int FTP_PORT = 21;
        public static final String PRECIPITATION_IMG_RAIN_HOST = "10.135.30.135";
        public static final String PRECIPITATION_IMG_RAIN_USERNAME = "wenzhou";
        public static final String PRECIPITATION_IMG_RAIN_PASSWORD = "wenzhou";
        public static final String PRECIPITATION_IMG_RAIN1_ROOTPATH = "/compare/grad/rad1/";
        public static final String PRECIPITATION_IMG_RAIN3_ROOTPATH = "/compare/grad/rad3/";

        public static final String STORM_HOST = "10.135.30.227";
        public static final String STORM_USERNAME = "fwzx";
        public static final String STORM_PASSWORD = "fwzx123";
        public static final String STORM_ROOTPATH = "/Storm/";







    }


}
